package org.jeecg.modules.satff.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 人事表
 * @Author: nbacheng
 * @Date:   2024-09-29
 * @Version: V1.0
 */
@Data
@TableName("oa_satff")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="oa_satff对象", description="入职")
public class Satff implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**姓名*/
	@Excel(name = "姓名", width = 15)
    @ApiModelProperty(value = "姓名")
    private java.lang.String staffName;
	/**手机号*/
	@Excel(name = "手机号", width = 15)
    @ApiModelProperty(value = "手机号")
    private java.lang.String staffPhone;
    /**入职时间*/
    @Excel(name = "入职时间", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "入职时间")
    private java.util.Date entryTime;
    /**实际转正时间*/
    @Excel(name = "转正时间", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "转正时间")
    private java.util.Date realFormalTime;
	/**试用类型*/
	@Excel(name = "试用类型", width = 15)
    @ApiModelProperty(value = "试用类型")
    @Dict(dicCode = "staff_trial_type")
    private java.lang.Integer staffTrialType;
	/**办公地点*/
	@Excel(name = "办公地点", width = 15)
    @ApiModelProperty(value = "办公地点")
    private java.lang.String staffWorkAddress;
	/**职位*/
	@Excel(name = "职位", width = 15)
    @ApiModelProperty(value = "职位")
    private java.lang.String staffJob;
	/**直接主管*/
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @Excel(name = "直接主管", width = 15)
    @ApiModelProperty(value = "直接主管")
    private java.lang.String staffLeader;
	/**部门*/
	@Excel(name = "部门", width = 15, dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
	@Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    @ApiModelProperty(value = "部门")
    private java.lang.String staffDepartmentIds;
    /**转正类型*/
    @Excel(name = "转正类型", width = 15,dicCode = "staff_type")
    @ApiModelProperty(value = "转正类型")
    @Dict(dicCode = "staff_type")
    private java.lang.Integer staffType;
	/**预计入职时间*/
	@Excel(name = "预计入职时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "预计入职时间")
    private java.util.Date planEntryTime;
	/**预计转正时间*/
	@Excel(name = "预计转正时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "预计转正时间")
    private java.util.Date planFormalTime;

	/**是否过期*/
	@Excel(name = "是否过期", width = 15)
    @ApiModelProperty(value = "是否过期")
    private java.lang.Integer isOverdue;
	/**是否离职*/
	@Excel(name = "是否离职", width = 15)
    @ApiModelProperty(value = "是否离职")
    private java.lang.Integer isDepare;
	/**员工类型*/
	@Excel(name = "员工类型", width = 15,dicCode = "formal_type")
    @ApiModelProperty(value = "员工类型")
    @Dict(dicCode = "formal_type")
    private java.lang.Integer formalType;
	/**员工状态*/

	@Excel(name = "员工状态", width = 15,dicCode = "formal_status")
    @ApiModelProperty(value = "员工状态")
    @Dict(dicCode = "formal_status")
    private java.lang.Integer formalStatus;

	/**入职状态*/
	@Excel(name = "入职状态", width = 15,dicCode = "entry_status")
    @Dict(dicCode = "entry_status")
    @ApiModelProperty(value = "入职状态")
    private java.lang.Integer entryStatus;
	/**来源*/
    @Dict(dicCode = "entry_origin")
	@Excel(name = "来源", width = 15,dicCode = "entry_origin")
    @ApiModelProperty(value = "来源")
    private java.lang.Integer entryOrigin;
}
